package com.sfzy.mapper;

import com.sfzy.entity.ConsultantTag;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ConsultantTagMapper {
    //增加
    int insertConsultantTag(ConsultantTag consultantTag);
    //删除
    int deleteConsultantTag(int id);
    //修改
    int updateConsultantTag(ConsultantTag consultantTag);
    //根据id查询
    ConsultantTag selectConsultantTagById(int id);
    //分页查询
    List<ConsultantTag> selectAllConsultantTags(ConsultantTag consultantTag);
}
